package Demo;

public class Task implements Runnable{

    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName()+"任务一"+"running");
//        try {
////            Thread.sleep(4000);
//        } catch (InterruptedException e) {
//            e.printStackTrace();
//        }
        System.out.println(Thread.currentThread().getName()+"任务一"+"end");
     //   System.out.println(System.currentTimeMillis());
    }
}
